﻿using CatUtils.Utils.Currency.TextUtils;
using CatUtils.Utils.SpecialUtils.View;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AliCharacter_recognition.UserView
{
    public partial class LoginForm : Form
    {
        public LoginForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (TextHelper.StringToInt(textBox1.Text) == 1001 && TextHelper.StringToInt(textBox2.Text) == 1001)
            {
                MessageHelper.Alert("登陆成功！");
            }
            else {
                Console.WriteLine("登录失败。");
            }
        }



    }
}
